package com.qdlc.p2p.biz.tpp.model;

import com.qdlc.p2p.common.constant.SinaConstant;
import com.qdlc.p2p.common.util.DateUtil;
/**
 * 
 * 新浪绑定认证信息
 * @author ygw
 * @version 2.0
 * @date 2015年11月10日 上午9:36:03
 */
public class SinaBindingVerify extends SinaModel{
	
	
	
	/**
	 * 认证类型
	 * 
	 */
	private String verify_type;
	
	/**
	 * 认证内容
	 * 
	 */
	private String verify_entity;
	
	/**
	 * 待签名字符数组
	 */
	private String[] signParamNames=new String[]{"version","service","request_time","partner_id","_input_charset","identity_id","identity_type","verify_type","verify_entity"};
	
	/**
	 * 提交字符数组
	 */
	private String[] subParamNames=new String[]{"version","service","request_time","partner_id","_input_charset","sign","sign_type","identity_id","identity_type","verify_type","verify_entity"};
	
	public SinaBindingVerify() {
		super();
	}

	public SinaBindingVerify(String verify_type, String verify_entity, String extend_param, String identity_id) {
		super();
		this.verify_type = verify_type;
		this.verify_entity = verify_entity;
		this.setService("binding_verify");
		this.setExtend_param(extend_param);
		this.setIdentity_type(SinaConstant.IDENTITY_TYPE_UID);
		this.setIdentity_id(identity_id);
		this.setEncode(SinaConstant.ENCODE_TRUE);
		this.setRequest_time(DateUtil.dateStr3(DateUtil.getNow()));
	}


	/**
	 * 获取 待签名字符数组
	 * @return 
	 */
	public String[] getSignParamNames() {
		return signParamNames;
	}

	/**
	 * 设置 待签名字符数组
	 * @param 
	 */
	public void setSignParamNames(String[] signParamNames) {
		this.signParamNames = signParamNames;
	}

	/**
	 * 获取 提交字符数组
	 * @return 
	 */
	public String[] getSubParamNames() {
		return subParamNames;
	}

	/**
	 * 设置 提交字符数组
	 * @param 
	 */
	public void setSubParamNames(String[] subParamNames) {
		this.subParamNames = subParamNames;
	}

	/**
	 * @return verify_type
	 */
	public String getVerify_type() {
		return verify_type;
	}

	/**
	 * @param verify_type 要设置的 verify_type
	 */
	public void setVerify_type(String verify_type) {
		this.verify_type = verify_type;
	}

	/**
	 * @return verify_entity
	 */
	public String getVerify_entity() {
		return verify_entity;
	}

	/**
	 * @param verify_entity 要设置的 verify_entity
	 */
	public void setVerify_entity(String verify_entity) {
		this.verify_entity = verify_entity;
	}

}
